Don't mount raw blktap disks for pygrub
authorMark McLoughlin <markmc@redhat.com>
Tue, 20 Mar 2007 11:10:52 +0000 (11:10 +0000)
committerMark McLoughlin <markmc@redhat.com>
Tue, 20 Mar 2007 11:10:52 +0000 (11:10 +0000)
commitb43e569511ca459d28f0618e05d0ade762626555
treebd1fcd74669f6dc9cfa6d140055cff14f4a857f6
parent49a55b0fb3319c7374ec5846f3f2e1fd2da46c16
Don't mount raw blktap disks for pygrub
Currently, we mount all blktap disks for pygrub so that it can boot
from e.g. QCOW images. However, since pygrub will handle a raw image
just fine without mounting through blktap, we shouldn't bother in that
case.

Also, it looks like XendDomainInfo.create_vbd() takes the full disk
uname rather than the image path.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
tools/python/xen/util/blkif.py
tools/python/xen/xend/XendDomainInfo.py